home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000054_Jdanskinner@jdanskinner.com_Tue Dec 9 17:12:30 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.telebyte.nl!news.completel.fr!ircam.fr!freenix!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
  2. From: "Dan Skinner" <Jdanskinner@jdanskinner.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Command line switches
  5. Date: Tue, 9 Dec 2003 15:19:15 -0600
  6. Organization: Posted via Supernews, http://www.supernews.com
  7. Message-ID: <vtcfpdmt0al1da@corp.supernews.com>
  8. References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu>
  9. X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
  10. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
  11. X-Complaints-To: abuse@supernews.com
  12. Lines: 43
  13. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14730
  14.  
  15.  
  16. "Frank da Cruz" <fdc@columbia.edu> wrote in message
  17. news:slrnbtburh.2o1.fdc@sesame.cc.columbia.edu...
  18. > In article <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>,
  19. > Chris@bundy.co.uk wrote:
  20. > : On 8 Dec 2003 23:37:36 GMT, Frank da Cruz
  21. > :
  22. > : If I run the script stand alone it works great,
  23. > : thank you. Its when I try to run it at boot that I
  24. > : have problems.
  25. > :
  26. > Well you tricked me, you didn't say you wanted to run
  27. > it without a controlling terminal.
  28. >
  29. > : I put the file I had created in phone.sh that I
  30. > : had created in /usr/local/etc/rc.d
  31. > :
  32. > : server01# more  /usr/local/etc/rc.d/phone.sh
  33. > :  #!/bin/sh
  34. > :  /var/log/fred
  35. > :  exit
  36. > : server01#
  37. > :
  38. > I don't understand this.  What is /var/log/fred?
  39. > The name of the Kermit script?
  40. >
  41. > : the script never concludes therefore the remaining
  42. > : initialisation scripts never start.
  43. > :
  44. > Because it still has a CONNECT command in it, which
  45. > requires a controlling terminal?  In that case,
  46. > replace the CONNECT command with the INPUT sequence
  47. > that I recommended yesterday.
  48. >
  49. > - Frank
  50.  
  51. Sounds to me like you want to run this process as a deamon?
  52. If so you will want to fork it off when you launch it during startup.
  53. That way the rest of startup can continue.
  54.  
  55. Regards...Dan.
  56.  
  57.  
  58.